<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>欢迎您</title>
    <link rel="stylesheet" type="text/css" href="/tp3.2/Public/css/showarticle.css">
</head>
<body>
<div class="header">
    <div class="header-login"><a href="<?php echo U('Index/index');?>">BackStage</a></div>
    <div class="header-nav">
        <a class="header-url" href="<?php echo U('User/article');?>">添加文章</a>
        <span style="color: #FFFFFF">您好，</span><a class="header-url" href="<?php echo U('User/showarticle');?>"  title="查看我的投稿记录"style="text-decoration: underline;"><?php echo ($user["mail"]); ?></a>
        <a class="header-url" href="<?php echo U('User/login');?>?quit=exit">退出登录</a>
    </div>
</div>

<!--------------------------------文章主体部分-------------------------------->
<div class="main" style="height: auto">
    <div class="box" style="height: 100%">
        <?php echo ($page); ?>
        <div class="alist-title"><span><a href="<?php echo U('User/listarticle');?>" style="color: #fbfbfb">List</a></span></div>
        <?php if(is_array($alist)): foreach($alist as $key=>$vo): ?><div class="alist-content">
                <img src="/tp3.2/Public/<?php echo ($vo["headurl"]); ?>" class="content-img">
                <div class="content">
                    <p>作者<?php echo ($vo["mail"]); ?></p>
                    <h3><?php echo ($vo["headline"]); ?></h3>
                    <p><?php echo ($vo["instruct"]); ?></p>
                    <a href="">Read More...</a>
                    <br><br>
                    <span><?php echo ($vo["is_pass"]); ?></span><br>
                    <span class="content-foot"><a href=""></a>|<a href="">删除</a></span>
                </div>
            </div><?php endforeach; endif; ?>
    </div>
</div>
<div class="footer"></div>
</body>
</html>